/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * jdMostrarAlertas.java
 *
 * Created on 06-sep-2010, 11:44:56
 */

package gestionseguridadadministrativacliente;

import administracion.delegate.GestionSeguridadDelegate;
import administracion.helper.Listas;
import administracion.helper.MiTablePrint;
import administracion.helper.Utiles_MensajesDialogo;
import administracion.helper.Utiles_Tabla;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.jdesktop.beansbinding.AutoBinding;
import org.jdesktop.beansbinding.ELProperty;
import org.jdesktop.swingbinding.JTableBinding;
import org.jdesktop.swingbinding.SwingBindings;
import seguridad.administracion.ejb30.TO.SistemaTO;
import suministros.ejb30.TO.AlertaTO;
import suministros.ejb30.TO.EmpresaTO;
import suministros.ejb30.TO.ZonaTO;

/**
 *
 * @author Diana
 */
public class jdMostrarAlertas extends javax.swing.JDialog {
    private JTableBinding jTableBinding;
    List<AlertaTO> alertas;
    List<EmpresaTO> empresas;
    List<ZonaTO> zonas;
    List<SistemaTO> listasistema = null;

    /** Creates new form jdMostrarAlertas */
    public jdMostrarAlertas(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
        llenarComboSistema();
        this.jCheckBox1.setSelected(false);
        this.llenarComboEmpresa();
        this.llenarComboZonas();
        try {
           alertas= Listas.obtenerAlertas();
        } catch (Exception ex) {
            Logger.getLogger(jdMostrarAlertas.class.getName()).log(Level.SEVERE, null, ex);
        }
        cargarDatos();
        this.jcbEmpresa.setEnabled(false);
    }
     private void llenarComboSistema() {

        List listaTipos_cbo = this.cboBenaBindingSistema1.getLista();
        listaTipos_cbo.clear();
        try
        {
         listasistema = GestionSeguridadDelegate.getInstance().getListaSistema();

          if(!listasistema.isEmpty()){
              this.cboBenaBindingSistema1.setLista(listasistema);
              this.bindingGroup.bind();
              this.jcbSistema.updateUI();
              this.jcbSistema.setSelectedIndex(-1);
          }
          else{
              this.jcbSistema.removeAllItems();
          }
        } catch (Exception ex) {
          Utiles_MensajesDialogo.mensajeAlerta("Error al obtener sistemas\n" + ex.getMessage());
          ex.printStackTrace();
          Logger.getLogger(jdMostrarAlertas.class.getName()).log(Level.SEVERE, null, ex);
        }
      }
     private void llenarComboEmpresa() {
        empresas = null;
        List listaPaises_cbo = this.cboBeanBindingEmpresa1.getLista();
        listaPaises_cbo.clear();
        try
        {
          if(this.jCheckBox1.isSelected()){
                empresas = Listas.getEmpresas();
            }
            else{
                empresas = Listas.getEmpresaPrincipal();
            }
          this.cboBeanBindingEmpresa1.setLista(empresas);
          this.bindingGroup.bind();
          this.jcbEmpresa.updateUI();
          this.jcbEmpresa.setSelectedIndex(0);
        } catch (Exception ex) {
          Utiles_MensajesDialogo.mensajeAlerta("Error al obtener empresas\n" + ex.getMessage());
          ex.printStackTrace();
          Logger.getLogger(jdMostrarAlertas.class.getName()).log(Level.SEVERE, null, ex);
        }
      }
      private void llenarComboZonas() {
        zonas = null;
        List listaPaises_cbo2 = this.cboBeanBindingZona1.getLista();
        listaPaises_cbo2.clear();
        try
        {
          zonas = Listas.getZonas();
          this.cboBeanBindingZona1.setLista(zonas);
          this.bindingGroup.bind();
          this.jcbZona.updateUI();
          this.jcbZona.setSelectedIndex(-1);
        } catch (Exception ex) {
          Utiles_MensajesDialogo.mensajeAlerta("Error al obtener zonas\n" + ex.getMessage());
          ex.printStackTrace();
          Logger.getLogger(jdMostrarAlertas.class.getName()).log(Level.SEVERE, null, ex);
        }
      }
     public void cargarDatos(){
    this.jTableBinding = SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy.READ, this.alertas, this.jtfAlerta);

    JTableBinding.ColumnBinding columnBinding0 = this.jTableBinding.addColumnBinding(ELProperty.create("${nomempresa}"));

    columnBinding0.setColumnName("EMPRESA");
    columnBinding0.setColumnClass(String.class);
    columnBinding0.setEditable(false);
    JTableBinding.ColumnBinding columnBinding1 = this.jTableBinding.addColumnBinding(ELProperty.create("${nomsistema}"));

    columnBinding1.setColumnName("SISTEMA");
    columnBinding1.setColumnClass(String.class);
    columnBinding1.setEditable(false);
    JTableBinding.ColumnBinding columnBinding2 = this.jTableBinding.addColumnBinding(ELProperty.create("${nomzona}"));

    columnBinding2.setColumnName("ZONA");
    columnBinding2.setColumnClass(String.class);
    columnBinding2.setEditable(false);

    JTableBinding.ColumnBinding columnBinding3 = this.jTableBinding.addColumnBinding(ELProperty.create("${desc_tipo}"));

    columnBinding3.setColumnName("DESCRIPCION");
    columnBinding3.setColumnClass(String.class);
    columnBinding3.setEditable(false);

    JTableBinding.ColumnBinding columnBinding4 = this.jTableBinding.addColumnBinding(ELProperty.create("${descripcion}"));

    columnBinding4.setColumnName("DESCRIPCION ADICIONAL");
    columnBinding4.setColumnClass(String.class);
    columnBinding4.setEditable(false);

    JTableBinding.ColumnBinding columnBinding5 = this.jTableBinding.addColumnBinding(ELProperty.create("${fecha}"));

    columnBinding5.setColumnName("FECHA");
    columnBinding5.setColumnClass(String.class);
    columnBinding5.setEditable(false);


    this.bindingGroup.addBinding(this.jTableBinding);
    this.bindingGroup.bind();
    try {
         int[] porcentajes= {7,7,7,34,38,7};
         Utiles_Tabla.definirAnchoColumnasJTable(this.jtfAlerta, porcentajes);
        } catch (Exception ex) {
            Logger.getLogger(jdMostrarAlertas.class.getName()).log(Level.SEVERE, null, ex);
        }

  }
     public void cargarDatosBusqueda(List<AlertaTO> lista){
    this.jTableBinding = SwingBindings.createJTableBinding(AutoBinding.UpdateStrategy.READ, lista, this.jtfAlerta);

    JTableBinding.ColumnBinding columnBinding0 = this.jTableBinding.addColumnBinding(ELProperty.create("${nomempresa}"));

    columnBinding0.setColumnName("EMPRESA");
    columnBinding0.setColumnClass(String.class);
    columnBinding0.setEditable(false);
    JTableBinding.ColumnBinding columnBinding1 = this.jTableBinding.addColumnBinding(ELProperty.create("${nomsistema}"));

    columnBinding1.setColumnName("SISTEMA");
    columnBinding1.setColumnClass(String.class);
    columnBinding1.setEditable(false);
    JTableBinding.ColumnBinding columnBinding2 = this.jTableBinding.addColumnBinding(ELProperty.create("${nomzona}"));

    columnBinding2.setColumnName("ZONA");
    columnBinding2.setColumnClass(String.class);
    columnBinding2.setEditable(false);

    JTableBinding.ColumnBinding columnBinding3 = this.jTableBinding.addColumnBinding(ELProperty.create("${desc_tipo}"));

    columnBinding3.setColumnName("DESCRIPCION");
    columnBinding3.setColumnClass(String.class);
    columnBinding3.setEditable(false);

    JTableBinding.ColumnBinding columnBinding4 = this.jTableBinding.addColumnBinding(ELProperty.create("${descripcion}"));

    columnBinding4.setColumnName("DESCRIPCION ADICIONAL");
    columnBinding4.setColumnClass(String.class);
    columnBinding4.setEditable(false);

    JTableBinding.ColumnBinding columnBinding5 = this.jTableBinding.addColumnBinding(ELProperty.create("${fecha}"));

    columnBinding5.setColumnName("FECHA");
    columnBinding5.setColumnClass(String.class);
    columnBinding5.setEditable(false);


    this.bindingGroup.addBinding(this.jTableBinding);
    this.bindingGroup.bind();
    try {
         int[] porcentajes= {5,5,5,40,40,5};
         Utiles_Tabla.definirAnchoColumnasJTable(this.jtfAlerta, porcentajes);
        } catch (Exception ex) {
            Logger.getLogger(jdMostrarAlertas.class.getName()).log(Level.SEVERE, null, ex);
        }


  }
     public void verificarEmpresa(){
         String id= empresas.get(this.jcbEmpresa.getSelectedIndex()).getCodigo();
         List<AlertaTO> alertasEmpresa= new ArrayList<AlertaTO>();
         for(int i=0; i< alertas.size(); i++){
             if(alertas.get(i).getEmpresa().compareTo(id)==0){
                 alertasEmpresa.add(alertas.get(i));
             }
         }
         cargarDatosBusqueda(alertasEmpresa);
     }
     public void verificarZona(){
         String id= zonas.get(this.jcbZona.getSelectedIndex()).getId_zona();
         List<AlertaTO> alertasZona= new ArrayList<AlertaTO>();
         for(int i=0; i< alertas.size(); i++){
             if(alertas.get(i).getZona().compareTo(id)==0){
                 alertasZona.add(alertas.get(i));
             }
         }
         cargarDatosBusqueda(alertasZona);
     }
     public void verificarSistema(){
         String id= listasistema.get(this.jcbSistema.getSelectedIndex()).getCodigo()+"";
         List<AlertaTO> alertasSistema= new ArrayList<AlertaTO>();
         for(int i=0; i< alertas.size(); i++){
             if(alertas.get(i).getSistema().compareTo(id)==0){
                 alertasSistema.add(alertas.get(i));
             }
         }
         cargarDatosBusqueda(alertasSistema);
     }
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        bindingGroup = new org.jdesktop.beansbinding.BindingGroup();

        cboBenaBindingSistema1 = new administracion.BeanBinding.CboBenaBindingSistema();
        cboBeanBindingEmpresa1 = new administracion.BeanBinding.CboBeanBindingEmpresa();
        cboBeanBindingZona1 = new administracion.BeanBinding.CboBeanBindingZona();
        jScrollPane1 = new javax.swing.JScrollPane();
        jtfAlerta = new javax.swing.JTable();
        jbtCancelar = new javax.swing.JButton();
        jcbEmpresa = new javax.swing.JComboBox();
        jLabel9 = new javax.swing.JLabel();
        jcbZona = new javax.swing.JComboBox();
        jLabel3 = new javax.swing.JLabel();
        jcbSistema = new javax.swing.JComboBox();
        jbtImprimir = new javax.swing.JButton();
        jCheckBox1 = new javax.swing.JCheckBox();

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(gestionseguridadadministrativacliente.GestionSeguridadAdministrativaclienteApp.class).getContext().getResourceMap(jdMostrarAlertas.class);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setName("Form"); // NOI18N
        addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                formFocusGained(evt);
            }
        });

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        jtfAlerta.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "EMPRESA", "SISTEMA", "ZONA", "TIPO ALERTA", "DESCRIPCION", "FECHA"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jtfAlerta.setName("jtfAlerta"); // NOI18N
        jScrollPane1.setViewportView(jtfAlerta);

        jbtCancelar.setFont(resourceMap.getFont("jbtCancelar.font")); // NOI18N
        jbtCancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/iconoscomb/16x16ozygen/actions/button_cancel.png"))); // NOI18N
        jbtCancelar.setText(resourceMap.getString("jbtCancelar.text")); // NOI18N
        jbtCancelar.setName("jbtCancelar"); // NOI18N
        jbtCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtCancelarActionPerformed(evt);
            }
        });

        jcbEmpresa.setName("jcbEmpresa"); // NOI18N

        org.jdesktop.beansbinding.ELProperty eLProperty = org.jdesktop.beansbinding.ELProperty.create("${lista}");
        org.jdesktop.swingbinding.JComboBoxBinding jComboBoxBinding = org.jdesktop.swingbinding.SwingBindings.createJComboBoxBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, cboBeanBindingEmpresa1, eLProperty, jcbEmpresa);
        bindingGroup.addBinding(jComboBoxBinding);

        jcbEmpresa.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jcbEmpresaItemStateChanged(evt);
            }
        });

        jLabel9.setFont(resourceMap.getFont("jLabel9.font")); // NOI18N
        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N

        jcbZona.setFont(resourceMap.getFont("jcbZona.font")); // NOI18N
        jcbZona.setName("jcbZona"); // NOI18N

        eLProperty = org.jdesktop.beansbinding.ELProperty.create("${lista}");
        jComboBoxBinding = org.jdesktop.swingbinding.SwingBindings.createJComboBoxBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, cboBeanBindingZona1, eLProperty, jcbZona);
        bindingGroup.addBinding(jComboBoxBinding);

        jcbZona.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jcbZonaItemStateChanged(evt);
            }
        });
        jcbZona.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jcbZonaKeyPressed(evt);
            }
        });

        jLabel3.setFont(resourceMap.getFont("jLabel3.font")); // NOI18N
        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        jcbSistema.setName("jcbSistema"); // NOI18N

        eLProperty = org.jdesktop.beansbinding.ELProperty.create("${lista}");
        jComboBoxBinding = org.jdesktop.swingbinding.SwingBindings.createJComboBoxBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, cboBenaBindingSistema1, eLProperty, jcbSistema);
        bindingGroup.addBinding(jComboBoxBinding);

        jcbSistema.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jcbSistemaItemStateChanged(evt);
            }
        });
        jcbSistema.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jcbSistemaActionPerformed(evt);
            }
        });
        jcbSistema.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jcbSistemaKeyPressed(evt);
            }
        });

        jbtImprimir.setFont(resourceMap.getFont("jbtImprimir.font")); // NOI18N
        jbtImprimir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/iconoscomb/16x16ozygen/actions/document_print.png"))); // NOI18N
        jbtImprimir.setText(resourceMap.getString("jbtImprimir.text")); // NOI18N
        jbtImprimir.setName("jbtImprimir"); // NOI18N
        jbtImprimir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbtImprimirActionPerformed(evt);
            }
        });
        jbtImprimir.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                jbtImprimirKeyPressed(evt);
            }
        });

        jCheckBox1.setFont(resourceMap.getFont("jCheckBox1.font")); // NOI18N
        jCheckBox1.setText(resourceMap.getString("jCheckBox1.text")); // NOI18N
        jCheckBox1.setName("jCheckBox1"); // NOI18N
        jCheckBox1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCheckBox1ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addComponent(jCheckBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jcbEmpresa, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(31, 31, 31)
                                .addComponent(jLabel3)
                                .addGap(18, 18, 18)
                                .addComponent(jcbSistema, javax.swing.GroupLayout.PREFERRED_SIZE, 218, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(jLabel9)
                                .addGap(18, 18, 18)
                                .addComponent(jcbZona, javax.swing.GroupLayout.PREFERRED_SIZE, 207, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(351, 351, 351)
                        .addComponent(jbtImprimir)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jbtCancelar)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(jcbZona, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jCheckBox1)
                    .addComponent(jcbSistema, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel3)
                    .addComponent(jcbEmpresa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 270, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jbtCancelar)
                    .addComponent(jbtImprimir))
                .addContainerGap())
        );

        bindingGroup.bind();

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jbtCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtCancelarActionPerformed
        this.dispose();
}//GEN-LAST:event_jbtCancelarActionPerformed

    private void jcbZonaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jcbZonaItemStateChanged
     if(this.jcbZona.getSelectedIndex()>=0)
        this.verificarZona();
    }//GEN-LAST:event_jcbZonaItemStateChanged

    private void jcbZonaKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jcbZonaKeyPressed

}//GEN-LAST:event_jcbZonaKeyPressed

    private void jcbSistemaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jcbSistemaItemStateChanged
        if(this.jcbSistema.getSelectedIndex()>=0)
        this.verificarSistema();
}//GEN-LAST:event_jcbSistemaItemStateChanged

    private void jcbSistemaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jcbSistemaActionPerformed

}//GEN-LAST:event_jcbSistemaActionPerformed

    private void jcbSistemaKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jcbSistemaKeyPressed

}//GEN-LAST:event_jcbSistemaKeyPressed

    private void jcbEmpresaItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jcbEmpresaItemStateChanged
     if(this.jCheckBox1.isSelected()){
        if(this.jcbEmpresa.getSelectedIndex()>=0)
        this.verificarEmpresa();
     }

    }//GEN-LAST:event_jcbEmpresaItemStateChanged

    private void jbtImprimirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbtImprimirActionPerformed
        MiTablePrint pp = new MiTablePrint(this.jtfAlerta, "ALERTAS", "ALERTAS GENERADAS");
        pp.showPrintPreview();
}//GEN-LAST:event_jbtImprimirActionPerformed

    private void jbtImprimirKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jbtImprimirKeyPressed
   
}//GEN-LAST:event_jbtImprimirKeyPressed

    private void formFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_formFocusGained
      
        cargarDatos();
    }//GEN-LAST:event_formFocusGained

    private void jCheckBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBox1ActionPerformed
        if(this.jCheckBox1.isSelected()){
            this.jcbEmpresa.setEnabled(true);
        } else{
            this.jcbEmpresa.setEnabled(false);
        }
        this.llenarComboEmpresa();
        this.verificarEmpresa();
}//GEN-LAST:event_jCheckBox1ActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private administracion.BeanBinding.CboBeanBindingEmpresa cboBeanBindingEmpresa1;
    private administracion.BeanBinding.CboBeanBindingZona cboBeanBindingZona1;
    private administracion.BeanBinding.CboBenaBindingSistema cboBenaBindingSistema1;
    private javax.swing.JCheckBox jCheckBox1;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JButton jbtCancelar;
    private javax.swing.JButton jbtImprimir;
    private javax.swing.JComboBox jcbEmpresa;
    private javax.swing.JComboBox jcbSistema;
    private javax.swing.JComboBox jcbZona;
    private javax.swing.JTable jtfAlerta;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
    // End of variables declaration//GEN-END:variables

}
